package com.ruoyi.project.system.business.service;

import java.util.List;

import com.ruoyi.common.utils.PageQuery;
import com.ruoyi.framework.web.page.TableData;
import com.ruoyi.project.system.business.domain.Business;

/**
 * businessService接口
 * 
 * @author ruoyi
 * @date 2024-07-18
 */
public interface IBusinessService 
{
    /**
     * 查询business
     * 
     * @param id business主键
     * @return business
     */
    public Business selectBusinessById(Long id);

    /**
     * 查询business列表
     * 
     * @param business business
     * @return business集合
     */
    public TableData<Business> selectBusinessList(Business business, PageQuery pageQuery);

    /**
     * 新增business
     * 
     * @param business business
     * @return 结果
     */
    public int insertBusiness(Business business);

    /**
     * 修改business
     * 
     * @param business business
     * @return 结果
     */
    public int updateBusiness(Business business);

    /**
     * 批量删除business
     * 
     * @param ids 需要删除的business主键集合
     * @return 结果
     */
    public int deleteBusinessByIds(String ids);

    /**
     * 删除business信息
     * 
     * @param id business主键
     * @return 结果
     */
    public int deleteBusinessById(Long id);
}
